cmake_minimum_required(VERSION 2.8)

set(CMAKE_C_FLAGS_DEBUG "-DDEBUG")
SET(CMAKE_BUILD_TYPE "Debug")

project(jduppy2)
FIND_PACKAGE(Qt4 REQUIRED)
SET(CMAKE_COLOR_MAKEFILE ON)
SET(QT_DONT_USE_QTGUI TRUE)
SET(QT_USE_QTTEST TRUE)
#set( CMAKE_VERBOSE_MAKEFILE on )

INCLUDE(${QT_USE_FILE})
ADD_DEFINITIONS(${QT_DEFINITIONS})
ADD_DEFINITIONS(-g -Wall)



add_subdirectory(src)
